﻿namespace Kay.Communication.Framework.Custom_Errors
{
    /// <summary>
    /// 传输文件错误类型
    /// </summary>
    public enum TransferFileErrors
    {
        /// <summary>
        /// 未知错误
        /// </summary>
        Unknown = -1,
        /// <summary>
        /// 成功
        /// </summary>
        Success = 0,
        /// <summary>
        /// 对方掉线
        /// </summary>
        OtherOffline = 101,
        /// <summary>
        /// 自己掉线
        /// </summary>
        OwnOffline = 102,
        /// <summary>
        /// 对方终止发送
        /// </summary>
        OtherBreakOff = 201,
        /// <summary>
        /// 自己终止发送
        /// </summary>
        OwnBreakOff = 202
    }
}